@extends('layouts.app')
@section('content')
    <heading>创建章节</heading>
    <p class="mb-3">当前作品： <a
                href="{{route('repositories.show',['repository'=>$repository])}}">{{$repository->title}}</a></p>

    <card>
        {{--        @include('resources._errors')--}}
        @component('resources.chapter._form',['action'=>route('repositories.chapters.store',['repository'=>$repository]),'sequence'=>$sequence])
        @endcomponent
        {{--<chapter-form action="{{route('repositories.chapters.store',['repository'=>$repository])}}"--}}
                      {{--:sequence="{{$sequence}}"></chapter-form>--}}
    </card>

@endsection